package com.ad.pages.admin;

import org.apache.tapestry5.annotations.Property;

import com.ad.base.AbstractPage;

public class Loader extends AbstractPage {

	@Property
	private String userName;

	@Property
	private String password;
	
	@Property
	private String checkCode;
	
	protected void setupRender() {
		super.setupRender();
	}

	Object onSuccess() {
		if (userName.equals("admin") && password.equals("admin")) {
			System.out.println("ok");
		}
		return null;
	}
	
	

}
